<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 插件菜单
*/
defined('BY_JYA') or exit('error');
list($basicname)=$arguments;
// 是主应用时的菜单
return array(
		array('title'=>'平台概况','fa'=>'icon-dianpu','url'=>'jy_weidish/index/','child'=>array(
			array('title'=>'平台概况','child'=>array(
				array('url'=>'jy_weidish/index/','title'=>'平台概况'),
			)),
			array('title'=>'入口管理','child'=>array(
				array('url'=>'jy_weidish/basic.module_home/cover/ac=index&type=3','title'=>'首页入口'),
			)),
			array('title'=>'平台公告','child'=>array(
				array('url'=>'core/account.article_list/','title'=>'公告列表'),
				array('url'=>'core/account.article_fenlei/','title'=>'公告分类'),
			)),
		)),
		array('title'=>'门店管理','fa'=>'icon-box','url'=>'jy_weishop/store.count/','child'=>array(
			array('title'=>'门店管理','child'=>array(
				array('url'=>'jy_weishop/store.count/','title'=>'门店概况'),
				array('url'=>'jy_weishop/store.setting/','title'=>'门店设置'),
				array('url'=>'jy_weishop/store.list/','title'=>'门店管理'),
				array('url'=>'jy_weishop/store.salergroup/','title'=>'员工角色'),
				array('url'=>'jy_weishop/store.saler/','title'=>'员工管理'),
				array('url'=>'jy_weishop/store.salersale/','title'=>'员工绩效'),
				array('url'=>'jy_weishop/store.totalset/','title'=>'菜品分配库存'),
				array('url'=>'jy_weishop/store.totalnotice/','title'=>'库存警报'),
				array('url'=>'jy_weishop/basic.module_home/cover/ac=store.manage.index','title'=>'店员入口'),
				array('url'=>'jy_weishop/basic.module_home/cover/ac=verify.verifygoods','title'=>'核销入口'),
			)),
			array('title'=>'门店核销','child'=>array(
			array('url'=>'jy_weishop/store.verifylog/','title'=>'核销记录'),
			array('url'=>'jy_weishop/store.verifyselflog/','title'=>'取货核销记录'),
			array('url'=>'jy_weishop/store.verifygoods/','title'=>'记次时核销订单'),
			array('url'=>'jy_weishop/store.verifynumlog/','title'=>'记次时核销记录'),
		)),
		)),
		array('title'=>'设置','fa'=>'icon-shezhi','url'=>'jy_weidish/setting/','child'=>array(
			array('title'=>'设置','child'=>array(
				array('url'=>'jy_weidish/setting/','title'=>'基础设置'),
				array('url'=>'jy_weishop/sysset.shop/','title'=>'商城设置'),
				array('url'=>'jy_weidish/weishop_set/basic/','title'=>'订单设置'),
				array('url'=>'jy_weidish/weishop_set/setting/','title'=>'页面设置'),
				array('url'=>'jy_weishop/sysset.close/','title'=>'餐厅状态'),
				array('url'=>'jy_weishop/sysset.templat/','title'=>'模板设置'),
				array('url'=>'jy_weishop/sysset.groupset/','title'=>'分类设置'),
				array('url'=>'jy_weishop/sysset.search/','title'=>'搜索关键字'),
			)),
			array('title'=>'交易设置','child'=>array(
				//array('url'=>'sysset.trade/','title'=>'交易设置'),
				array('url'=>'jy_weishop/sysset.refund/','title'=>'退款设置'),
				array('url'=>'core/setting.pay/','title'=>'支付设置'),
				array('url'=>'core/setting.cash/','title'=>'提现设置'),
			)),
			array('title'=>'消息提醒','child'=>array(
				array('url'=>'core/setting.msgset/list/plugin_name=jy_weishop','title'=>'消息设置'),
				array('url'=>'core/setting.msgtpl/list/plugin_name=jy_weishop','title'=>'微信模板库'),
			)),
			array('title'=>'短信配置','child'=>array(
				array('url'=>'jy_weishop/sysset.sms_temp/','title'=>'短信消息库'),
				//array('url'=>'sysset.sms_set/','title'=>'短信接口设置'),
			)),
			array('title'=>'小票打印机','child'=>array(
				array('url'=>'jy_print/setting/','title'=>'默认打印机接口参数'),
				array('url'=>'jy_print/print/','title'=>'默认打印机管理'),
				array('url'=>'jy_feieyun/setting/','title'=>'飞蛾打印机接口参数'),
				array('url'=>'jy_feieyun/print/','title'=>'飞蛾打印机管理'),
				array('url'=>'jy_weishop/sysset.printer/','title'=>'打印任务管理'),
				array('url'=>'jy_weishop/sysset.printer_tpl/','title'=>'打印机模板'),
				array('url'=>'jy_weishop/sysset.printer_eletpl/','title'=>'电子快递模板'),
			)),
		)),
		array('title'=>'菜品','fa'=>'icon-cart1','url'=>'jy_weishop/goods.list/','child'=>array(
			array('title'=>'菜品管理','child'=>array(
				array('url'=>'jy_weishop/goods.list/','title'=>'出售中'),
				array('url'=>'jy_weishop/goods.out/','title'=>'已售罄'),
				array('url'=>'jy_weishop/goods.stock/','title'=>'仓库中'),
				array('url'=>'jy_weishop/goods.cycle/','title'=>'回收站'),
				array('url'=>'jy_weishop/goods.verify/','title'=>'待审核'),
				array('url'=>'jy_weishop/goods.group/','title'=>'菜品分类'),
				//array('url'=>'goods.package/','title'=>'菜品组'),
				array('url'=>'jy_weishop/goods.label/','title'=>'标签管理'),
			)),
			array('title'=>'菜品相关','child'=>array(
				array('url'=>'jy_weishop/goods.comment/','title'=>'菜品评价'),
				//array('url'=>'jy_importtools/index/','title'=>'菜品导入'),
			)),
			array('title'=>'虚拟卡密','child'=>array(
				array('url'=>'jy_weishop/goods.virtual_temp/','title'=>'虚拟卡密'),
				array('url'=>'jy_weishop/goods.virtual_group/','title'=>'卡密分类'),
				array('url'=>'jy_weishop/goods.virtual_set/','title'=>'卡密设置'),
			)),
		)),
		array('title'=>'配送员','fa'=>'icon-dianpu','url'=>'jy_peisong/peisong/','child'=>array(
			array('title'=>'基本配置','child'=>array(
				array('url'=>'jy_peisong/index/','title'=>'基本设置'),
				array('url'=>'jy_peisong/basic.module_home/cover/ac=index&type=3','title'=>'配送员入口'),
			)),
			array('title'=>'配送员','child'=>array(
				array('url'=>'jy_peisong/peisong_in/','title'=>'入驻申请'),
				array('url'=>'jy_peisong/peisong/','title'=>'配送员管理'),
				array('url'=>'jy_peisong/peisong_area/','title'=>'配送点管理'),
				array('url'=>'jy_peisong/peisong_yongjin/','title'=>'配送佣金审核'),
				array('url'=>'jy_peisong/peisong_tixian/','title'=>'配送提现管理'),
			)),
		)),
		array('title'=>'活动营销','fa'=>'icon-gengduotupian','url'=>'jy_weishop/sale.enough/','child'=>array(
			array('title'=>'活动中心','child'=>array(
				array('url'=>'jy_weishop/activity.buyagain.list/','title'=>'重复购折扣'),
				array('url'=>'jy_weishop/activity.sales.list/','title'=>'促销'),
				array('url'=>'jy_weishop/activity.limit.list/','title'=>'限时卖'),
				array('url'=>'jy_weishop/activity.presell.list/','title'=>'菜品预售'),
				array('url'=>'jy_weishop/activity.buyxiu.set/','title'=>'买家秀'),
			array('url'=>'jy_weishop/activity.sales.offer/','title'=>'今日特价'),
			array('url'=>'jy_weishop/activity.sales.luck/','title'=>'今日运势'),
			)),
			array('title'=>'基本功能','child'=>array(
				array('url'=>'jy_weishop/sale.enough/','title'=>'满额立减'),
				array('url'=>'jy_weishop/sale.baoyou/','title'=>'满额包邮'),
				array('url'=>'jy_weishop/sale.credit1/','title'=>'购物送积分'),
				//array('url'=>'sale.deduct/','title'=>'抵扣设置'),
				array('url'=>'jy_weishop/sale.recharge/','title'=>'充值优惠'),
				//array('url'=>'sale.package/','title'=>'套餐管理'),
				array('url'=>'jy_weishop/sale.gift/','title'=>'赠品管理'),
				//array('url'=>'sale.fullback/','title'=>'全返管理'),
				array('url'=>'jy_weishop/sale.peerpay/','title'=>'找人代付'),
				array('url'=>'jy_weishop/sale.bindmobile/','title'=>'绑定送积分'),
			)),
			array('title'=>'游戏营销','child'=>array(
				array('url'=>'jy_weishop/game.list/','title'=>'游戏管理'),
			)),
			array('title'=>'优惠券','child'=>array(
				array('url'=>'jy_weishop/coupon.count/','title'=>'优惠券概况'),
				array('url'=>'jy_weishop/coupon.list/','title'=>'全部优惠券'),
				array('url'=>'jy_weishop/coupon.goodssend/','title'=>'活动/购物送券'),
				array('url'=>'jy_weishop/coupon.sendcoupon/','title'=>'手动发放'),
				array('url'=>'jy_weishop/coupon.log/','title'=>'发放记录'),
				array('url'=>'jy_weishop/coupon.group/','title'=>'分类管理'),
				array('url'=>'jy_weishop/coupon.set/','title'=>'其他设置'),
				array('url'=>'jy_weishop/basic.module_home/cover/ac=coupon.index','title'=>'优惠券入口'),
			)),
			array('title'=>'微信卡券','child'=>array(
				array('url'=>'jy_weishop/coupon.wxcard/','title'=>'卡券管理'),
			)),
		array('title'=>'购物卡管理','child'=>array(
			array('url'=>'jy_weishop/goodscard.list/','title'=>'购物卡列表'),
			array('url'=>'jy_weishop/goodscard.order/','title'=>'购物卡订单'),
			array('url'=>'jy_weishop/goodscard.log/','title'=>'领取记录'),
		)),
	)),
	array('title'=>'会员','fa'=>'icon-paihao0','url'=>'jy_weishop/member.list/','child'=>array(
			array('title'=>'会员管理','child'=>array(
				array('url'=>'jy_weishop/member.list/','title'=>'会员列表'),
				array('url'=>'jy_weishop/member.level/','title'=>'会员等级'),
				array('url'=>'jy_weishop/member.label/','title'=>'标签组'),
				array('url'=>'jy_weishop/member.rank/','title'=>'排行榜设置'),
			)),
		)),
	array('title'=>'订单','fa'=>'icon-form','url'=>'jy_weishop/order.list/list/all=1','child'=>array(
			array('title'=>'订单管理','child'=>array(
				array('url'=>'jy_weishop/order.list/list/all=1','title'=>'全部订单'),
				//array('url'=>'order.salf/','title'=>'到店自提订单'),
				//array('url'=>'order.nopay/','title'=>'货到付款订单'),
				//array('url'=>'order.star/','title'=>'加星订单'),
				//array('url'=>'order.game/','title'=>'活动订单'),
				array('url'=>'jy_weishop/order.list/list/status=0','title'=>'待付款'),
				array('url'=>'jy_weishop/order.list/list/status=1','title'=>'待配送'),
				array('url'=>'jy_weishop/order.list/list/status=2','title'=>'待收货'),
				array('url'=>'jy_weishop/order.list/list/status=3','title'=>'已完成'),
				array('url'=>'jy_weishop/order.list/list/status=4','title'=>'已关闭'),
				array('url'=>'jy_weishop/order.list/deleted/','title'=>'回收站'),
			)),
			array('title'=>'维权','child'=>array(
				array('url'=>'jy_weishop/order.refund/','title'=>'维权申请'),
			)),
			array('title'=>'工具','child'=>array(
				array('url'=>'jy_weishop/order.export/','title'=>'自定义导出'),
				array('url'=>'jy_weishop/order.batchsend/','title'=>'批量发货'),
			)),
		)),
	array('title'=>'数据','fa'=>'icon-licai','url'=>'jy_weishop/statistics.sale/','child'=>array(
			array('title'=>'销售统计','child'=>array(
				array('url'=>'jy_weishop/statistics.sale/','title'=>'销售统计'),
				array('url'=>'jy_weishop/statistics.sale_analysis/','title'=>'销售指标'),
				array('url'=>'jy_weishop/statistics.order/','title'=>'订单统计'),
			)),
			array('title'=>'菜品统计','child'=>array(
				array('url'=>'jy_weishop/statistics.goods/','title'=>'销售明细'),
				array('url'=>'jy_weishop/statistics.goods_rank/','title'=>'销售排行'),
				array('url'=>'jy_weishop/statistics.goods_trans/','title'=>'销售转化率'),
			)),
			array('title'=>'会员统计','child'=>array(
				array('url'=>'jy_weishop/statistics.member_cost/','title'=>'消费排行'),
				array('url'=>'jy_weishop/statistics.member_increase/','title'=>'增长趋势'),
			)),
		)),
		array('title'=>'公众号','icon'=>'fa-gear','url'=>'core/wechat.from_plugin/edit/from_pluginname=jy_weidish','child'=>array(
			array('title'=>'公众号管理','child'=>array(
				array('url'=>'core/wechat.from_plugin/edit/from_pluginname=jy_weidish','title'=>'公众号设置'),
				array('url'=>'core/wechat.menu/','title'=>'自定义菜单'),
				array('url'=>'core/wechat.back/','title'=>'消息回复列表'),
				array('url'=>'core/wechat.mass/','title'=>'消息群发'),
				array('url'=>'core/wechat.media/','title'=>'微信素材管理'),
				array('url'=>'core/wechat.fans/','title'=>'粉丝管理'),
				array('url'=>'core/wechat.fansgroup/','title'=>'粉丝分组'),
				array('url'=>'core/wechat.specal_back/follow_back/','title'=>'关注回复规则设置'),
				array('url'=>'core/wechat.specal_back/default_back/','title'=>'默认回复规则设置'),
				array('url'=>'core/wechat.qr/','title'=>'二维码管理'),
			)),
		)),
		array('title'=>'小程序','icon'=>'fa-gear','url'=>'core/wxapp.from_plugin/edit/from_pluginname=jy_weidish','child'=>array(
			array('title'=>'小程序设置','child'=>array(
				array('url'=>'core/wxapp.from_plugin/edit/from_pluginname=jy_weidish','title'=>'小程序设置'),
			)),
		)),
		
		array('title'=>'我的站点','icon'=>'fa-home','url'=>'core/account.siteinfo/','child'=>array(
			array('title'=>'站点信息','child'=>array(
				array('url'=>'core/account.siteinfo/','title'=>'站点信息'),
				array('url'=>'core/account.user/','title'=>'我的账户'),
				array('url'=>'core/account.operator/','title'=>'我的操作员'),
				array('url'=>'core/account.fujian/','title'=>'附件管理'),
				array('url'=>'core/account.recharge/','title'=>'账户充值'),
				array('url'=>'core/account.credit_log/','title'=>'账户余额日志'),
				array('url'=>'core/account.pay_log/','title'=>'账户支付日志'),
				array('url'=>'core/account.renzheng/','title'=>'认证文件上传'),
				array('url'=>'core/account.account.develop/','title'=>'多平台转接'),
				array('url'=>'core/account.open_fans/','title'=>'全网粉丝互通'),
			)),
			array('title'=>'参数设置','child'=>array(
				array('url'=>'core/setting.sms/','title'=>'短信设置'),
				array('url'=>'core/setting.pay/','title'=>'支付参数'),
				array('url'=>'core/setting.registerset/','title'=>'站点注册设置'),
				array('url'=>'core/setting.mail/','title'=>'站点邮件设置'),
				array('url'=>'core/setting.fans/','title'=>'粉丝信息获取设置'),
			)),
		)),
);